#ifndef ADDRESS_UI_H
#define ADDRESS_UI_H

#include <QCheckBox>
#include <QGridLayout>
#include <QLabel>
#include <QPushButton>
#include <QScrollArea>
#include <QVBoxLayout>
#include <QWidget>
#include "ip_port.h"
class AddressUI : public QWidget
{
    Q_OBJECT
public:
    explicit AddressUI(QWidget *parent = nullptr);
    ~AddressUI();

    // Public widgets for interaction in logic
    QPushButton *addAddressButton;
    QVBoxLayout *mainLayout;
    QScrollArea *scrollArea;
    QGridLayout *gridLayout;

private:
    void setupUi(); // Sets up the UI components

};

#endif // ADDRESS_UI_H
